//
//  Extension+UIImageView.swift
//  ZYweibo
//
//  Created by 张耀 on 16/6/26.
//  Copyright © 2016年 zhangyao. All rights reserved.
//

import UIKit

extension UIImageView{

    //遍历构造函数 快捷创建UIImageView
    
    convenience init(imageName: String) {
        
        self.init(image: UIImage(named: imageName))
    }
    
}


